#include "list.h"
using namespace std;

class ConfigFile
{
public:
	ConfigFile();
	ConfigFile(char* pFileName);
	~ConfigFile();
public:
	int SetFile(char* );
	int Parse();
	char* GetHostName();
	char* GetUserName();
	char* GetPassword();
	int GetVersion();
private:
	char* m_pFileName;
	char* m_pHost;
	char* m_pUsername;
	char* m_pPassword;
	int m_port;
	int m_ver;
};
